<template>
  <div id="app">
       <!-- <Demo></Demo>
       <First></First>
       <hr>
       <Parent></Parent> -->

       
       <hr>
       <Foot></Foot>
       <!-- <div id="nav">
          <router-link :to="{name:'main'}">主页</router-link>
          <router-link :to="{name:'list'}">列表</router-link>
          <router-link :to="{name:'find'}">朋友圈</router-link>
          <router-link :to="{name:'mine'}">个人中心</router-link>
       </div> -->
       <hr>
       <div class="view" >
         <router-view></router-view>
       </div>
  </div>
</template>


<script>
// @ is alias to src 

import Demo from "@/components/Demo.vue"
import First from "@/components/First.vue"
export default {
    components:{
      Demo:Demo ,
      First
    }
}
</script>


<style lang="scss" scoped >
.view{
    padding-top:30px;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;
    margin:6px;
    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
